Skip to content

add patch along with range headers for pushChunks#230

Merged
jonesbusy merged 2 commits intooras-project:mainfrom
vaidikcode:pushChunks
Mar 22, 2025
Merged

add patch along with range headers for pushChunks#230
jonesbusy merged 2 commits intooras-project:mainfrom
vaidikcode:pushChunks

Conversation

@vaidikcode
Copy link
Copy Markdown
Contributor

Signed-off-by: Vaidik Bhardwaj vaidikbhardwaj00@gmail.com

Description

  • Added patch in OrasHttpClient
  • Added range headers in Const.java
  • As there are no dedicated test files for these two classes I just added a test for verifying a patch with newly added headers in the WireMock Test as it already contains tests for verifying headers and requests.

Testing done

All new tests pass

Submitter checklist

  • I have read and understood the CONTRIBUTING guide
  • I have run mvn license:update-file-header, mvn spotless:apply, pre-commit run -a, mvn clean install before opening the PR

Signed-off-by: Vaidik Bhardwaj <vaidikbhardwaj00@gmail.com>
@vaidikcode vaidikcode requested a review from jonesbusy as a code owner March 22, 2025 10:18
Signed-off-by: Vaidik Bhardwaj <vaidikbhardwaj00@gmail.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.53%. Comparing base (ab9aab1) to head (be101ba).
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #230      +/-   ##
============================================
+ Coverage     85.51%   85.53%   +0.02%     
- Complexity      466      467       +1     
============================================
  Files            33       33              
  Lines          1539     1542       +3     
  Branches        175      175              
============================================
+ Hits           1316     1319       +3     
  Misses          148      148              
  Partials         75       75              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonesbusy jonesbusy merged commit ff4e475 into oras-project:main Mar 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants